﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Exaction.UI.WebControl;

public partial class _Default : System.Web.UI.Page 
{
    TextBoxWithCounter tb;
    protected void Page_Load(object sender, EventArgs e)
    {
        tb = new TextBoxWithCounter(250, 10, 50, TextBoxMode.MultiLine);
        this.PnlFormControls.Controls.Add(tb);
    }

    protected void BtnSubmit_Click(object sender, EventArgs e)
    {
        LblResult.Text = tb.Text;
        LblResult.Visible = true;
        PnlResult.Visible = true;
    }
}